feat: Add Grid Lite Angular wrapper#16777
Conversation
…into mdragnev/grid-lite-wrapper
|
Just a note: <igx-grid-lite-column field="active" dataType="boolean" header="Active">
<ng-template igxGridLiteCell let-value>
<link rel="stylesheet" href="/styles.css">
<igx-checkbox [checked]="value"></igx-checkbox>
</ng-template>
</igx-grid-lite-column>The example We're likely to address this further, but it will on the web component level to bake in functionality to automatically adopt the root styles for templated cells in a future release. Edit: will be resolved by integrating IgniteUI/igniteui-grid-lite#46 |
|
Additional issue, if a class or any other rule targeting the Angular host with some size modifications: <igx-grid-lite class="grid".grid {
width: 50%;
}That obviously doesn't work as the host is Edit: Eh, forgot about view encapsulation on the parent component that we can't control :/ So even if the class is transferred, it's not guaranteed to do anything for the component below. Edit 2: Two options #16896 and #16898 with the first one winning out for simplicity. |
Related #16700
Additional information (check all that apply):
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)